package kr.hkit.powerjava.chapter9;

public class StaticTest {
	
	public static final int T=10;
	public static final int S;
	static {
		System.out.println("static 영역");
		S = 0;
		
	}
	public StaticTest() {
		
		System.out.println("생산자");
	}
	public static void main(String[] args) {
		StaticTest a= new StaticTest();
		add(10,20);
		System.out.println(StaticTest.T);
		System.out.println(StaticTest.S);
	}
static int add(int x, int y){
	return x+y;
}
}
